import request from '@/utils/request'

//获取基本信息
export const getBaseInfo=function(){
    return request({
        url: '/dashboard/baseInfo',
        method: "get"
    })
}

// 获取近6个月的成交情况
export const getNearMonthPayInfo = function () {
    return request({
        url: '/dashboard/getNearMonthInfo',
        method: "get"
    })
}

// 获取商品分类的售卖情况
export const getGoodTypeInfo = function () {
    return request({
        url: '/dashboard/getGoodTypeInfo',
        method: 'get'
    })
}